Tickera\TC D

Total Complexity 923
Dependencies 20
Dependents 0
Total lines 5,037
Lines of code 4,184
Logical lines of code 2,006
Comment lines 677
Methods 139
Properties 12

Methods 139

Method Rating Maintainability Complexity Lines of code
update_cart()
D
20
58 191
tc_checkout_payment_form()
D
28
43 112
create_order()
D
26
35 135
action_parse_request()
C
31 27 118
admin_scripts_styles()
C
26
23 176
tc_calculate_individual_ticket_totals()
C
38 29 55
tc_show_summary()
C
26
16 216
generate_pdf_ticket_front()
C
40 25 47
load_payment_gateway_addons()
B
38 21 62
cart_payment()
B
40 18 53
tc_delete_tickets()
B
40 17 58
add_to_cart()
A
43 16 41
get_cart_currency_and_format()
A
41 14 61
__construct()
A
28
6 157
register_custom_posts()
A
25
1 230
tc_events_front_page()
A
50 13 26
tc_order_status_url()
A
51 12 23
tc_payment_gateway_alternative()
A
47 11 34
init_vars()
A
52 11 23
bridge_admin_notice()
A
51 11 23
load_cart_scripts()
A
45 10 37
add_default_posts_and_metas()
A
32 5 111
save_attendee_info()
A
52 11 20
add_rewrite_rules()
A
43 9 47
tc_get_ticket_type_instances()
A
43 9 45
admin_debug_notices_message()
A
55 10 19
maybe_set_session_path()
A
48 9 31
remove_order_session_data()
A
40 6 74
change_order_status_ajax()
A
45 8 43
add_required_capabilities()
A
52 9 26
common_scripts_styles()
A
45 8 39
change_apikey_event_category()
A
52 9 22
get_network_setting()
A
54 9 20
get_setting()
A
54 9 20
create_unique_id()
A
53 9 19
main_navigation_links_fallback()
A
43 6 61
get_current_post_type()
A
59 9 14
handle_gateway_returns()
A
50 8 26
save_cart_post_data()
A
51 8 23
ajax_remove_order_session_data()
A
42 5 61
show_cart_menu_handler()
S
50 7 30
tc_recalculate_order_totals()
S
41 5 57
activation()
S
52 7 25
load_ticket_template_elements()
S
52 7 25
update_cart_widget()
S
44 5 50
update_option_names()
S
48 6 34
generate_pdf_ticket()
S
57 7 17
is_wp_debug_enabled()
S
67 8 7
load_tc_addons()
S
59 7 14
add_admin_menu()
S
46 5 42
comments_open()
S
61 7 11
add_network_admin_menu()
S
44 4 54
tc_order_confirmation_message_content()
S
55 6 21
main_navigation_links()
S
47 5 36
maybe_cancel_order()
S
54 6 20
update_discount_settings()
S
56 6 18
rrmdir()
S
56 6 17
get_confirmation_slug()
S
56 6 17
get_cart_slug()
S
57 6 16
can_use_gateway()
S
50 5 31
tc_delete_plugins_data()
S
45 4 44
maybe_skip_confirmation_screen()
S
52 5 28
get_process_payment_slug()
S
59 6 13
tc_default_values()
S
59 6 13
get_payment_gateway_return_slug()
S
59 6 13
sales_api()
S
61 6 11
tc_remove_notification_theme()
S
54 5 23
maybe_make_writtable_tcpdf_directory()
S
54 5 22
get_order()
S
55 5 21
get_cart_cookie()
S
57 5 17
update_order_payment_status()
S
51 4 31
staff_capabilities()
S
39 1 76
generate_ticket_preview()
S
67 6 6
admin_capabilities()
S
39 1 75
checkin_api()
S
61 5 11
localization()
S
61 5 11
in_admin_pages_require_admin_styles()
S
53 4 22
create_pages()
S
44 2 46
change_event_status()
S
58 4 15
change_ticket_status()
S
58 4 15
get_license_key()
S
70 5 5
remove_unnecessary_plugin_menu_items()
S
63 5 10
get_payment_slug()
S
61 4 12
get_cart_info_cookie()
S
60 4 12
tc_add_age_check()
S
61 4 11
front_scripts_styles()
S
55 3 24
generate_order_id()
S
58 3 16
get_order_slug()
S
65 4 8
get_ipn_page()
S
65 4 9
gateway_is_network_allowed()
S
65 4 8
get_cart_currency()
S
72 4 4
load_addons()
S
61 3 13
get_cart_events()
S
62 3 11
get_cart_page()
S
67 3 8
ajax_remove_order_session_data_only()
S
72 3 5
get_cancel_url()
S
66 3 8
in_pages_doesnt_require_media()
S
63 3 10
admin_permalink_message()
S
66 3 8
get_order_page()
S
67 3 8
get_confirmation_page()
S
67 3 8
get_process_payment_page()
S
67 3 8
get_payment_page()
S
67 3 8
non_visible_post_types_404()
S
67 3 8
cart_has_custom_url()
S
73 3 4
set_dependencies_slug()
S
70 3 6
get_tax_value()
S
73 3 4
add_notices()
S
71 3 5
get_order_cookie()
S
71 3 5
get_cart_event_tickets()
S
63 3 10
check_for_total_paid_fraud()
S
68 3 7
remove_order_session_data_only()
S
64 2 14
update_order_status()
S
61 2 12
filter_query_vars()
S
54 1 23
set_cart_info_cookie()
S
54 1 22
set_order_cookie()
S
55 1 22
set_cart_cookie()
S
55 1 22
admin_dashboard_notification()
S
63 2 10
install_notice()
S
71 2 6
no_comments_template()
S
69 2 7
install_actions()
S
71 2 6
is_tc_debug_enabled()
S
79 2 3
get_events_creators()
S
65 2 9
active_payment_gateways()
S
75 2 4
get_store_currency()
S
74 2 4
update_cart_cookie()
S
59 1 15
get_front_end_invisible_post_types()
S
62 1 13
update_discount_code_cookie()
S
62 1 12
remove_unnecessary_plugin_menu_items_wp_page_menu_args()
S
68 1 7
plugin_action_link()
S
71 1 5
tc_remove_notification()
S
67 1 9
gateways_require_53php()
S
79 1 3
tc_change_editable_qty()
S
83 1 3
get_template_details()
S
72 1 6
get_order_payment_status()
S
76 1 4
show_page_tab()
S
75 1 4
order_to_post_id()
S
74 1 4
tc_cart_errors()
S
74 1 5
tc_remove_notification_theme_ajax()
S
67 1 9
show_network_page_tab()
S
75 1 4